<template>
  <div :style="{ background:background, width: width, transition: 'all ' + loadTime + 's'}" class="loadline">

  </div>
</template>

<script>
export default {
  props: {
    background: {
      default: '#6379F8',
      type: String
    },
    width: {
      default: '100%',
      type: String
    },
    loadTime: {
      default: '0.3',
      type: String
    }
  },
  components: {

  },
  data () {
    return {

    }
  },
  created () {

  }
}
</script>

<style scoped lang="less">
.loadline {
  height: 2px;
}
</style>